#include <gtest/gtest.h>
#include <iostream>


class VecTest : public testing::Test
{
public:
    void SetUp() override
    {
        std::cout << "registering..." << std::endl;
        vec.push_back(1);
        vec.push_back(2);
        vec.push_back(3);
    }

    void TearDown() override
    {
        std::cout << "clearing..." << std::endl;
        vec.clear();
    }


protected:
    std::vector<int> vec;

};


TEST_F(VecTest, vectest)
{
    ASSERT_EQ(vec.size(), 2);
}


int main(int argc, char* argv[])
{
    testing::InitGoogleTest(&argc, argv);

    RUN_ALL_TESTS();

    return 0;
}